package com.zyd.shiro.business.service;

import com.github.pagehelper.PageInfo;
import com.zyd.shiro.business.entity.User;
import com.zyd.shiro.business.vo.CourseConditionVO;
import com.zyd.shiro.framework.object.AbstractService;
import com.zyd.shiro.persistence.beans.Course;

public interface CourseService  extends AbstractService<Course, Long> {

    PageInfo<Course> findPageBreakByCondition(CourseConditionVO vo, User user);

    boolean removeCourse(Long courseId,Long userId);

    int chooseCourse(Long courseId,Long userId);

    int chooseCancel(Long courseId,Long userId);
}
